package com.ruitu.router_module.bean.mine;

import java.io.Serializable;

/**
 * Created by  on 2018/6/5.
 */
public class Coupon implements Serializable {
    private String id;// "3085571231750767960",----------//优惠券id
    private String companyId;// "3678955744562033029",---//企业id
    private String discountRatio;// "",------------------//折扣比例，status为1 填写折扣的比例，为2则为空
    private String satisfyMoney;// 1000,-----------------//满
    private String reduceMoney;// 10,--------------------//减
    private String createTime;// 1537919056000,
    private String useTime;// 1542282055000,------------//失效时间
    private String type;// "2",-------------------------//优惠券类型(1，平台；2，企业)
    private String status;// "2",-----------------------//优惠方式（1，折扣；2，满减）
    private String number;// 89,------------------------//数量
    private String goodsId;// "",
    private String shopType;// "0",---------------------//0优惠券针对店铺 1优惠券针对商品
    private String userCouponId;// null,
    private String companyName;// "尕宝测试企业",
    private String goodsName;// null,
    private String imageUrl;// null

    private boolean have;//added at 2019.01.14 是否已经领取过优惠券


    public boolean isHave() {
        return have;
    }

    public void setHave(boolean have) {
        this.have = have;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getDiscountRatio() {
        return discountRatio;
    }

    public void setDiscountRatio(String discountRatio) {
        this.discountRatio = discountRatio;
    }

    public String getSatisfyMoney() {
        return satisfyMoney;
    }

    public void setSatisfyMoney(String satisfyMoney) {
        this.satisfyMoney = satisfyMoney;
    }

    public String getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(String reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getShopType() {
        return shopType;
    }

    public void setShopType(String shopType) {
        this.shopType = shopType;
    }

    public String getUserCouponId() {
        return userCouponId;
    }

    public void setUserCouponId(String userCouponId) {
        this.userCouponId = userCouponId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
